import {
	http
} from '@/utils/request.js'
// 类型列表
export const classlist = (data) => {
	return http.post('/camp/classlist', data)
}
// 时间段列表
export const timesj = (data) => {
	return http.post('/camp/timesj', data)
}
// 营地列表
export const camplist = (data) => {
	return http.post('/camp/camplist', data)
}
// 营地详情
export const campfile = (data) => {
	return http.post('/camp/campfile', data)
}
// 收藏，取消收藏
export const collect = (data) => {
	return http.post('/goods/collect', data)
}
// 下单
export const addorder = (data) => {
	return http.post('/camp/addorder', data)
}
// 支付订单
export const payorder = (data) => {
	return http.post('/camp/payorder', data)
}
// 订单列表
export const orderlist = (data) => {
	return http.post('/camp/orderlist', data)
}
// 订单详情
export const orderfile = (data) => {
	return http.post('/camp/orderfile', data)
}
// 取消订单
export const changstatus = (data) => {
	return http.post('/camp/changstatus', data)
}
// 退还押金
export const tuiya = (data) => {
	return http.post('/camp/tuiya', data)
}
// 营位预约状态
export const campyy = (data) => {
	return http.post('/camp/yuyue', data)
}